<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>


<div class="TxtInfo_1" id="title">
    <!-- 订单信息 -->
	<p class="title_1"><spring:message code="order_order_info"/></p>
	<div class="TxtInfoSm1">
		<div class="clearfix list">
		    <!-- 订单号 -->
			<p class="titL1"><spring:message code="order_orderNo_show"/></p>
			<p class="titR1">${order.orderNO}</p>
		</div>
		<div class="clearfix list">
		    <!-- 店铺名称 -->
			<p class="titL1"><spring:message code="order_shop_name_show"/></p>
			<p class="titR1">${order.shopName}</p>
		</div>
		<div class="clearfix list">
		    <!-- 面料名称 -->
			<p class="titL1"><spring:message code="order_fabric_name_show"/></p>
			<p class="titR1">${order.materialName}</p>
		</div>
		<div class="clearfix list">
		    <!-- 版型 -->
			<p class="titL1"><spring:message code="order_model_show"/></p>
			<p class="titR1">${fns:getDictName(order.fitCD)}</p>
		</div>
		<div class="clearfix list">
		    <!-- 试穿尺码 -->
			<p class="titL1"><spring:message code="order_size_show"/></p>
			<p class="titR1"><c:if test="${order.sizeGroupCD != null}">${fns:getDictName(order.sizeGroupCD)}/${fns:getDictName(order.sizeCD)}</c:if></p>
		</div>
		<div class="clearfix list">
		    <!-- 制作工艺 -->
			<p class="titL1"><spring:message code="order_workmanship_show"/></p>
			<p class="titR1">${fns:getDictName(order.styleMakeCD)}</p>
		</div>
		<div class="clearfix list">
		    <!-- 订单日期 -->
			<p class="titL1"><spring:message code="order_orderDate_show"/></p>
			<p class="titR1"><fmt:formatDate value="${order.createDate}" pattern="yyyy-MM-dd HH:mm" /></p>
		</div>
		<div class="clearfix list">
		    <!-- 数量 -->
			<p class="titL1"><spring:message code="order_number_show"/></p>
			<p class="titR1">${order.orderNumber}</p>
		</div>
		<div class="clearfix list">
		    <!-- 面料费用 -->
			<p class="titL1"><spring:message code="order_fabric_cost_show"/></p>
			<p class="titR1">￥<fmt:formatNumber value="${order.materialTotalPrice}" pattern="#,#00.00#"/><input type="hidden" name="materialTotalPrice" value="${order.materialTotalPrice}"/></p>
		</div>
		<div class="clearfix list">
		    <!-- 设计费用 -->
			<p class="titL1"><spring:message code="order_design_cost_show"/></p>
			<p class="titR1">￥<fmt:formatNumber value="${order.orderDesignPrice}" pattern="#,#00.00#"/><input type="hidden" name="orderDesignPrice" value="${order.orderDesignPrice}"/></p>
		</div>
		
		<!-- 设计费用明细 -->
		<c:forEach items="${order.showOrderOptionList}" var="item" varStatus="status">
		      <c:if test="${item.itemCost != null && item.itemCost != 0}">
		          <div class="clearfix list orderInfoSm">
                    <p class="titL1">${item.itemNameCN}</p>
                    <p class="titR1">￥<fmt:formatNumber value="${item.itemCost}" pattern="#,#00.00#"/>
                  </div>
             </c:if>
        </c:forEach>
        
		<div class="clearfix list">
		    <!-- 售价 -->
			<p class="titL1"><spring:message code="order_sales_price_show"/></p>
			<p class="titR1">￥<fmt:formatNumber value="${order.totalPrice}" pattern="#,#00.00#"/><input type="hidden" name="totalPrice" value="${order.totalPrice}"/></p>
		</div>

	</div>
</div>